package com.example.day02;
import java.util.Scanner;
/**
 * @author Lenovo
 */
public class Demo19 {
        public static void main(String[] args){
            Scanner sc =new Scanner(System.in);

            System.out.println("请输入一个整数：");
            int number =sc.nextInt();

            if(number%2==0) {
                System.out.println(number +"是偶数");
            }else {
                System.out.println(number +"是奇数");
            }
        }
    }


